Skip to content

Turn default encryption to off #479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Aug 27, 2019

Conversation

ali-ince
Copy link
Contributor

This PR makes the following changes in the driver configuration;

  1. The default encrypted value is now false, which means that it explicitly needs to be set to true for the driver to communicate with a TLS enabled server.
  2. The default trust setting is now TRUST_SYSTEM_CA_SIGNED_CERTIFICATES which means that the certificates will be verified based on system provided trust store and it won't be possible to communicate with untrusted servers (using self-signed certificates, etc.) out of the box.
  3. Browser environments now also recognize TRUST_SYSTEM_CA_SIGNED_CERTIFICATES and it will fail startup if provided other two options - which are TRUST_CUSTOM_CA_SIGNED_CERTIFICATES and TRUST_ALL_CERTIFICATES.

Based on #478.

@ali-ince ali-ince merged commit ac9de13 into neo4j:2.0 Aug 27, 2019
@ali-ince ali-ince deleted the 2.0-encryption-off-by-default branch August 27, 2019 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant